package com.woniuxy.service;

import com.woniuxy.service.impl.AdressServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by xxhcm on 2021/3/26.
 */

@FeignClient(value = "run-backstage",fallback = AdressServiceImpl.class)
public interface AdressService {
    @GetMapping("/getAdress")
    boolean  isUsable(@RequestParam String adress);
}
